package io.lkt.modules.sys.dao;

import io.lkt.modules.sys.entity.PythonArticleInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 文章信息表
 * 
 * @author xss
 * @email dustwas@163.com
 * @date 2019-03-23 16:55:35
 */
@Mapper
public interface PythonArticleInfoDao extends BaseMapper<PythonArticleInfoEntity> {
    List<PythonArticleInfoEntity> queryList(Map<String, Object> map);

    Integer queryTotal(Map<String, Object> map);

    List<PythonArticleInfoEntity> byBrandName(Map<String,Object> map);

    Integer elseTotal(Map<String, Object> map);

    Integer noImportCount();

    Integer upDel(Map<String, Object> map);

    Integer delById(Integer id);

    PythonArticleInfoEntity getInfo(Integer id);

    Integer updateArticleThumbnail(Integer id,String articleThumbnail);

    Integer updateInfo(PythonArticleInfoEntity bArticleInfo);
	
}
